package com.taplinker.client.im.rpc.response;

import android.widget.Toast;

import com.taplinker.client.App;
import com.taplinker.client.AppConfigFactory;
import com.taplinker.core.rpc.Result;

public class Cmd1001 implements ImResponse{

	@Override
	public void yes(Result result) {
		App.getInstance().logOut();
		Toast.makeText(AppConfigFactory.getInstance().getApplication(), "帐号已在别处登录", Toast.LENGTH_SHORT).show();
	}

	@Override
	public String getCommand() {
		return "1001";
	}
}
